//
//  SegmentView.h
//  homeland
//
//  Created by rain on 14-5-22.
//  Copyright (c) 2014年 xzysun. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol SegmentViewDelegate <NSObject>

- (void)didSelectSegmentAtIndex:(int)index;
@end

@interface SegmentView : UIView
- (void)initView:(NSArray *)array;
@property (nonatomic ,assign) int segmentIndex;
@property (nonatomic, assign) id<SegmentViewDelegate>delegate;
@end
